package cn.zn.modules.budget.cur.service.impl;

import cn.zn.framework.common.utils.PageUtils;
import cn.zn.modules.budget.cur.dao.TBudgetInfoDetailUseDao;
import cn.zn.modules.budget.cur.entity.TBudgetInfoDetailUseEntity;
import cn.zn.modules.budget.cur.service.TBudgetInfoDetailUseService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


@Service("tBudgetInfoDetailUseService")
public class TBudgetInfoDetailUseServiceImpl extends ServiceImpl<TBudgetInfoDetailUseDao, TBudgetInfoDetailUseEntity> implements TBudgetInfoDetailUseService {

    @Override
    public PageUtils queryPage(TBudgetInfoDetailUseEntity tBudgetInfoDetailUse, IPage<TBudgetInfoDetailUseEntity> page) {

        QueryWrapper<TBudgetInfoDetailUseEntity> tBudgetInfoDetailUseQueryWrapper = Wrappers.query();

        IPage<TBudgetInfoDetailUseEntity> pageResult = this.page(page, tBudgetInfoDetailUseQueryWrapper);
        return new PageUtils(pageResult);
    }

}